#pragma once

namespace nef {

template<typename Check, typename T>
struct is_type
{
private:
	static char check(...);
	static int check(Check *);

public:
	static const bool value = sizeof(check((T*)nullptr)) == sizeof(int);
};

}